package top.toptimus.dto.order.orderSync.result;

import lombok.Data;
import lombok.NoArgsConstructor;
import top.toptimus.dto.order.orderSync.orderCommit.OrderCommitDto;

/**
 * 水洗标
 */
@NoArgsConstructor
@Data
public class WaterMarkDto {
    private String orderNo;
    private String customerName;
    private String materialCode;
    private String composition;

    public WaterMarkDto(OrderCommitDto orderCommitDto) {
        this.orderNo = orderCommitDto.getOrderNo();
        this.customerName = orderCommitDto.getCustomerName();
        this.materialCode = orderCommitDto.getMaterialCode();
        this.composition = orderCommitDto.getComposition();
    }
}
